<p class="Paragraph">FileNumber: Any numeric expression that contains the file number set by the Open statement for the respective file.</p>
<p class="Paragraph">If the Loc function is used for an open random access file, it returns the number of the last read or written record.</p>
<p class="Paragraph">For a sequential file, the Loc function returns the position in a file divided by 128. For binary files, the position of the last read or written byte is returned.</p>